package icrts.utils;

public class SortedLinkedListEntry <V> {

	private double key;
	private V value;
	private SortedLinkedListEntry <V> next;

	public SortedLinkedListEntry (double key, V value){

		this.key = key;
		this.value = value;
		next = null;

	}

	V getValue(){
		return value;
	}

	public double getKey(){
		return key;
	}
	
	public void setNext( SortedLinkedListEntry <V> next) {
		this.next = next;
	}

	public SortedLinkedListEntry <V> getNext(){
		return next;
	}

}
